package com.example.streamer;

import com.example.streamer.util.ScreenCapture;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class StreamerApplication {
    public static void main(String[] args) {
        System.out.println("headless: " + java.awt.GraphicsEnvironment.isHeadless());
        ScreenCapture.captureScreenAsJpeg(0.7f);
        SpringApplication.run(StreamerApplication.class, args);
    }
} 